#!/bin/bash
###
 # @Author: admin@attacker.club
 # @Date: 2022-12-10 22:27:24
 # @LastEditTime: 2023-02-15 15:42:49
 # @Description: 
### 

docker run --name jenkins \
--restart=always -d  \
-p 8080:8080 \
-v /home/jenkins/data:/var/jenkins_home \
jenkins/jenkins:lts

docker exec -it jenkins cat /var/jenkins_home/secrets/initialAdminPassword
# 查看解锁密钥